package com.example.study.manager_plus.mybatis_plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 路飞4
 * @since 2024-07-14
 */
@Getter
@Setter
@TableName("warn_rule")
@ApiModel(value = "WarnRule对象", description = "")
public class WarnRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("mac_prefix")
    private String macPrefix;

    @TableField("ip")
    private String ip;

    @TableField("remark")
    private String remark;

    @TableField("user_id")
    private String userId;

    @TableField("update_time")
    private String updateTime;

    @TableField("create_time")
    private String createTime;
}
